Skip to content

Remove unused Retry-After header support#1843

Merged
xavdid merged 1 commit into
masterfrom
RUN_DEVSDK-2569
Jul 9, 2026
Merged

Remove unused Retry-After header support#1843
xavdid merged 1 commit into
masterfrom
RUN_DEVSDK-2569

Conversation

@xavdid

@xavdid xavdid commented Jul 9, 2026

Copy link
Copy Markdown
Member

Why?

We confirmed in RUN_API-26216 that the Stripe API doesn't (and has not ever, as far as we can tell) sent Retry-After to external consumers.

This was one of the SDKs that included support for reading that header. Given that it's always a no-op, we can remove the dead code.

What?

  • remove the code that reads the Retry-After header and associated calculations
  • remove related tests

See Also

RUN_DEVSDK-2569

@xavdid
xavdid requested a review from a team as a code owner July 9, 2026 00:09
@xavdid
xavdid requested review from kidus-stripe and removed request for a team July 9, 2026 00:09
@xavdid
xavdid enabled auto-merge (squash) July 9, 2026 00:09
@xavdid
xavdid merged commit bb711be into master Jul 9, 2026
17 checks passed
@xavdid
xavdid deleted the RUN_DEVSDK-2569 branch July 9, 2026 00:13
xavdid added a commit that referenced this pull request Jul 17, 2026
* Update generated code (#1836)

* Update generated code for v2323 and 1f0a7866ce5b5e12153c09a04349f91486b17d95

* Update generated code for v2324 and 6012b623b1c09ad54d466947da04511a042ee45a

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>

* Bump version to 15.3.0

* Reduce StripeClient() cold start latency for serverless environments (#1834)

* Remove unused Retry-After header support (#1843)

* make api error fields generated (#1845)

* move publish job to trusted publishing (#1847)

* move to trusted publishing

* Replace source hash with Telemetry UUID (#1846)

* Replace source hash with telemetry UUID

* minor tweaks

* Add/adjust tests & CI

* Bump version to 15.3.1

* use ip address directly instead of localhost for faster windows tests (#1849)

---------

Co-authored-by: stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: jar-stripe <jar@stripe.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants